package com.xquant.trade.trade.entity;

import com.xquant.common.core.annotation.Excel;

import java.math.BigDecimal;

/**
 * @author: zip.li
 * @date: Created in 2022/3/31 11:38
 * @Description: 场内持仓DTO
 */
public class TradeGroupDTO {
    @Excel(name = "标的代码")
    private String iCode;
    @Excel(name = "标的名称")
    private String iName;
    @Excel(name = "资产类型",dictType = "A_TYPE")
    private String aType;
    @Excel(name = "市场类型",dictType = "M_TYPE")
    private String mType;
    @Excel(name = "交易数量")
    private BigDecimal volume = BigDecimal.ZERO;
    @Excel(name = "交易金额(元)")
    private BigDecimal price = BigDecimal.ZERO;

    @Excel(name = "交易费用(元)")
    private BigDecimal fee = BigDecimal.ZERO;


    public BigDecimal getFee() {
        return fee;
    }

    public void setFee(BigDecimal fee) {
        this.fee = fee;
    }

    private String tradeDate;

    private String begDate;

    private String endDate;

    private String tradeType;

    private Integer accId;

    public Integer getAccId() {
        return accId;
    }

    public void setAccId(Integer accId) {
        this.accId = accId;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getBegDate() {
        return begDate;
    }

    public void setBegDate(String begDate) {
        this.begDate = begDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getTradeDate() {
        return tradeDate;
    }

    public void setTradeDate(String tradeDate) {
        this.tradeDate = tradeDate;
    }

    public String getiCode() {
        return iCode;
    }

    public void setiCode(String iCode) {
        this.iCode = iCode;
    }

    public String getiName() {
        return iName;
    }

    public void setiName(String iName) {
        this.iName = iName;
    }

    public String getaType() {
        return aType;
    }

    public void setaType(String aType) {
        this.aType = aType;
    }

    public String getmType() {
        return mType;
    }

    public void setmType(String mType) {
        this.mType = mType;
    }

    public BigDecimal getVolume() {
        return volume;
    }

    public void setVolume(BigDecimal volume) {
        this.volume = volume;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
}
